package org.amicofragile.bank;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		BeanFactory context = new ClassPathXmlApplicationContext("/bank-context.xml");
		Bank bank = (Bank)context.getBean("bank");
		
		bank.run();
	}

}
